<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <?php echo $this->Html->charset(); ?>
        <title>
            <?php echo $title_for_layout; ?>
        </title>
        <?php
        echo $this->Html->meta('icon');

        /** Styles * */
        echo $this->Html->css('bootstrap');
        echo $this->Html->css('bootstrap-responsive');
        echo $this->Html->css('bootstrap-overrides');
        echo $this->Html->css('print');
        echo $this->Html->css('print_media', 'stylesheet', array('media' => 'print'));
        ?>
    </head>
    <body>
        <div class="row-fluid">
            <div class="span12">
                <div id="print_cmd" style="font-size: 12px; font-family: Verdana,Arial,sans-serif; margin: 10px 0px 10px 10px;">
                    <?php
                    $img = $this->Html->image('icon-16.png', array('alt'=>'Print','width' => '26', 'height' => '26', 'border' => '0'));
                    echo $this->Html->link($img."&nbsp; Print", 'javascript: void(0); window.print();',array('class'=>'','title'=>'Print','style'=>'','escape'=>false));
                    ?>
                </div>
            </div>
        </div><!--/row-->
        <div id="content">
            <?php echo $this->Session->flash(); ?>
            <?php echo $this->fetch('content'); ?>
        </div> <!-- /#content -->

        <?php echo $this->element('footer'); ?>
        <?php //echo $this->element('sql_dump'); ?>
    </body>
</html>